package com.naiterui.ehp.bs.cms.modules.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.naiterui.ehp.bs.cms.common.entity.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description 用户标签
 * @Author gongbaoqiang
 * @Date 2020/5/22 1:31 PM
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("cms_user_label")
public class CmsUserLabel extends BaseEntity {
    private static final long serialVersionUID = 7692411095244342820L;

    /**
     * 与数据库cms_label中的id保持一致: 1（专家名医）
     */
    public static long LABEL_ID_DOCTOR_EXPERT = 1;

    /**
     * 用户类型(0,商务代表；1,医生；2,患者)
     */
    public static int USER_TYPE_BUSINESS = 0;
    public static int USER_TYPE_DOCTOR = 1;
    public static int USER_TYPE_PATIENT = 2;


    private Long userId;

    private Integer userType;

    private Long labelId;
}
